package com.smartleanx.module.hrm.service.esign.temp.po;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 *
 * @author xzq
 * @since 2025-07-07 15:56:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "e签报合同编号规则")
@TableName("hrm_e_contract_code")
public class HrmEContractCode implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "数据状态 0/删除 1/正常")
    @TableField(value = "data_status", fill = FieldFill.INSERT)
    private Integer dataStatus;

    @Schema(description = "编码code")
    @TableField("code")
    private String code;

    @Schema(description = "编码名称")
    @TableField("name")
    private String name;

    @Schema(description = "编码排序号")
    @TableField("sort_no")
    private Integer sortNo;

    @Schema(description = "勾选状态")
    @TableField("selected")
    private Integer selected;

    @Schema(description = "模板id")
    @TableField("temp_id")
    private Long tempId;
}
